package com.ssyt.ssh.sys.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ssyt.ssh.common.BaseDao;
import com.ssyt.ssh.sys.dao.BlogDao;
import com.ssyt.ssh.sys.entity.Blog;

@Repository
public class BlogDaoImpl extends BaseDao<Blog, Integer> implements BlogDao {

	@Override
	public List<Blog> listBlog() {
		String str = "SELECT * FROM blog";
		return listEntityBySql(str);
	}
	
	
}
